// 入口文件

//引入vue的文件   
import Vue from 'vue';

//引入vue-resource
import VueResource from "vue-resource"
Vue.use(VueResource)
//导入mint-ui
import {Header,Swipe, SwipeItem} from 'mint-ui'
Vue.component(Header.name,Header)
Vue.component(Swipe.name, Swipe);
Vue.component(SwipeItem.name, SwipeItem);
//导入mui的css
import './lib/mui/css/mui.min.css'
//导入mui扩展小图标的样式
import './lib/mui/css/icons-extra.css'
//引入App组件
import app from './App.vue'

//1.1导入路由的包
import VueRouter from 'vue-router'
//1.2手动引用路由
Vue.use(VueRouter)
//1.3引入配置的路由
import router from './router.js'
var vm = new Vue({
    el:'#app',
    render:c=>c(app),
    router

})